package com.photography.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.photography.entity.User;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface UserMapper extends BaseMapper<User> {
    /**
     * 用户登录
     * @param account 账号（手机号或邮箱）
     * @param password 密码
     * @return 用户信息
     */
    User login(@Param("account") String account, @Param("password") String password);


}
